package com.beone.smart.smartBeauty.model.mongodb;

import lombok.Data;
import org.bson.types.Binary;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * Created by bruce on 20/2/16 -- 16:30
 */
@Data
@Document
public class UploadFile {
    @Id
    private String id;
    private String name; // 文件名
    private Date createdTime; // 上传时间
    private Binary content; // 文件内容
    private long size; // 文件大小

}
